<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>angular</title>
    <script src="angular/angular.js"></script>
</head>
<body>
<div ng-app="" ng-init="name='hythzx'">
    <div>
        <h2>表单</h2>
        姓名 ： <input type="text" ng-model="username"><br>

    </div>
   name : <input type="text" ng-model="name"><br>
  <span>My name is {{name}}</span><br>
    Hello <span ng-bind="name"></span><br>
    <span ng-bind="username"></span>
</div>

</body>
</html>